﻿<%@ Page Title="Student's Profile" Language="C#" MasterPageFile="~/masterpage.master" AutoEventWireup="true" CodeFile="profile.aspx.cs" Inherits="profile" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
	<link rel="stylesheet" type="text/css" href="css/profile.css" />


	<script language="javascript" type="text/javascript">
// <!CDATA[

		function sea_onclick() {

		}

		function Button1_onclick() {

		}

// ]]>
	</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
	<table width="90%">
<tr>
<td style="width:300px;" valign="top">
<div style="HEIGHT:180px; WIDTH:100%; OVERFLOW:auto">
<table class="stats4" width="100%" height="180px;">
<tr>
<td colspan="2" class="hed4">
<asp:HyperLink  ForeColor="White" ID="hlEntry" runat="server"></asp:HyperLink>
	
	
	</td>
</tr>
<tr>
<td valign="top" style="width:100px;">Address:</td>
<td  style="width:150px;">
	<asp:Label ID="lAddress" runat="server"></asp:Label>
	</td>
</tr>
<tr>
<td>Gender:</td>
<td>
	<asp:Label ID="lGender" runat="server"></asp:Label>
	</td>
</tr>
<tr>
<td>Phone:</td>
<td>
	<asp:Label ID="lPhone" runat="server" Text="phone"></asp:Label>
	</td>
</tr>
<tr>
<td>E-mail:</td>
<td>
	<asp:Label ID="lEmail" runat="server"></asp:Label>
	</td>
</tr>
<tr>
<td>Home Phone:</td>
<td>
	<asp:Label ID="lHomePhone" runat="server"></asp:Label>
	</td>
</tr>
<tr>
<td>Parent Name:</td>
<td>
	<asp:Label ID="lParentName" runat="server"></asp:Label>
	</td>
</tr>
<tr>
<td>Parent Phone:</td>
<td>
	<asp:Label ID="lParentNumber" runat="server"></asp:Label>
	</td>
</tr>
<tr>
<td>Parent Email:</td>
<td>
	<asp:Label ID="lParentEmail" runat="server"></asp:Label>
	</td>
</tr>
</table>
</div>
</td>
<td align=left>
<telerik:radscriptmanager ID="RadScriptManager1" Runat="server">
	</telerik:radscriptmanager>
<telerik:radgrid ID="rgLogEntries" runat="server" AllowPaging="True" 
		AllowSorting="True" Height="180px"  Width="100%"
	 CssClass="stats"	onsortcommand="rgLogEntries_SortCommand" 
		onpageindexchanged="rgLogEntries_PageIndexChanged"  GridLines="None" 
		AllowAutomaticUpdates="True" AutoGenerateColumns="False"
		>
		
		<HeaderStyle  Font-Bold="True" Font-Underline="False" Font-Size=9 HorizontalAlign=Center />
<HeaderContextMenu>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</HeaderContextMenu>

<FilterMenu>
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</FilterMenu>

            <ItemStyle BackColor="Silver" />
	<AlternatingItemStyle BackColor="LightGray" />

            <MasterTableView>
				<Columns>
			
		<telerik:GridBoundColumn DataField="LOG_DATE" HeaderText="Date" ReadOnly="True" 
			SortExpression="LOG_DATE" HeaderStyle-Width="80" DataFormatString="{0:d}" >
			<ItemStyle HorizontalAlign="Center"  VerticalAlign="Top" />
		</telerik:GridBoundColumn>
		<telerik:GridBoundColumn DataField="TEACHER_NAME" HeaderText="Teacher" ReadOnly="True" 
			SortExpression="TEACHER_NAME" HeaderStyle-Width="80">
			<ItemStyle HorizontalAlign="Left"   VerticalAlign="Top" />
		</telerik:GridBoundColumn>
		<telerik:GridBoundColumn DataField="SECTION_NAME" HeaderStyle-Width="100" HeaderText="Section" ReadOnly="True" 
			SortExpression="SECTION_NAME" >
			<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
		</telerik:GridBoundColumn>
		<telerik:GridTemplateColumn HeaderText="Type" HeaderStyle-Width="70" SortExpression="LOG_TYPE">
			<ItemTemplate>
				<asp:Label ID="Label1" runat="server" Text='<%# Bind("LOG_TYPE") %>'></asp:Label>
			</ItemTemplate>
			<ItemStyle HorizontalAlign="Center"   VerticalAlign="Top" />
		</telerik:GridTemplateColumn>
		<telerik:GridTemplateColumn HeaderText="Note"  SortExpression="ENTRY">
			<ItemTemplate>
				<asp:Label ID="Label2" runat="server" Text='<%# Bind("ENTRY") %>'></asp:Label>
			</ItemTemplate>
			<ItemStyle  VerticalAlign="Top" />
		</telerik:GridTemplateColumn>
		</Columns>
	</MasterTableView>

	<ClientSettings>
		<Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"></Scrolling>
	</ClientSettings>

</telerik:radgrid>


	</td>
</tr>
<tr>
<td valign="top">
<table width="100%">
<tr>
<td colspan="2"><font face="Arial, Helvetica, sans-serif" style="font-weight:bold" size="2.5px">Excused Absence</font></td>
</tr>
<tr>
<td valign="top" align=left style="width:60px;"><font style="font-family:Arial, Helvetica, sans-serif; font-size: 12px;" >Week:</font> </td>
<td style="width:150px;">
	<asp:DropDownList ID="ddlPeriods" runat="server" Width="95%" DataTextField="Title" 
		DataValueField="Start">
	</asp:DropDownList>
	</td>
</tr>
<tr>
<td valign="top" align=left ><font style="font-family:Arial, Helvetica, sans-serif; font-size: 12px;" >Memo:</font></td>
<td>
	<asp:TextBox ID="tbMemo" runat="server" Rows="4" TextMode="MultiLine" 
		Width="95%"></asp:TextBox>
	</td>
</tr>
<tr>
<td colspan="2" align=center>

      <label>
      
	<asp:ImageButton ID="ImageButton1" ImageUrl="~/Images/sea_button.png" CssClass="sea" runat="server" Text="" 
		onclick="Button1_Click" />
		</label>
	 </td>
</tr>
</table>
</td>
<td>
<table width="100%">
<tr>
<td valign="top" style="width:60px;"><font style="font-family:Arial, Helvetica, sans-serif; font-size: 12px;" >To:</font> </td>
<td>
	<asp:TextBox ID="tbTo" runat="server" Width="100%"></asp:TextBox>
	</td>
</tr>
<tr>
<td valign="top"><font style="font-family:Arial, Helvetica, sans-serif; font-size: 12px;" >Subject:</font> </td>
<td>
	<asp:TextBox ID="tbSubject" runat="server" Width="100%">Attendance Alert</asp:TextBox>
	</td>
</tr>
<tr>
<td valign="top"><font style="font-family:Arial, Helvetica, sans-serif; font-size: 12px;" >Message:</font></td>
<td>
	<asp:TextBox ID="tbMessage" runat="server" Rows="4" TextMode="MultiLine" 
		Width="100%"></asp:TextBox>
	</td>
</tr>
<tr>
<td></td>
<td align="center">
<table width="100%">
	<tr>
		<td align="left"><asp:ImageButton ImageUrl="~/Images/se_button.png"  ID="Button3" runat="server" Text="Send Email" 
		onclick="Button3_Click" /></td>
		<td style="width:15px;" valign=top align="right">
		<table><tr><td>	<asp:DropDownList ID="ddLogEntryType" runat="server">
			<asp:ListItem Value="5">Phone Call</asp:ListItem>
			<asp:ListItem Value="3">Face-to-Face</asp:ListItem>
			<asp:ListItem Value="7">Tutoring</asp:ListItem>
			<asp:ListItem Value="4">General</asp:ListItem>
	</asp:DropDownList></td><td><asp:ImageButton ImageUrl="~/Images/sc_button.png"  ID="ImageButton2" 
		runat="server" Text="Save Contact" onclick="ImageButton1_Click"  /></td></tr></table>
	
		</td>
	</tr>
</table>
	
		
	</td>
</tr>
</table>

</td>
</tr>
</table>
<table width="90%"><tr align=center><td><asp:Label ID="lError" runat="server" 
		ForeColor="#FF3300"></asp:Label></td></tr></table>
</asp:Content>


